package com.backmanage.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.MappedSuperclass;

import org.aspectj.lang.annotation.DeclareAnnotation;

/**
 * @author tangjiang 
 * @version 创建时间：2016年6月24日 下午1:13:00
 * 类说明
 */
@MappedSuperclass
public class Base implements Serializable{
	@Column(name="createDate",nullable=false)
	private Date createDate=new Date();
	@Column(name="updateDate",nullable=false)
	private Date updateDate=new Date();

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	
}
